﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZhimeiSoft.Framework.Common.TableInfo
{
    /// <summary>
    /// 会员支付明细表
    /// </summary>
    public class DBPayment : DBBaseInfo
    {
        /// <summary>
        /// 表名称
        /// </summary>
        /// <returns></returns>
        public override string GetTableName()
        {
            return "PAYMENT";
        }
        /// <summary>
        /// 支付ID
        /// </summary>
        public int PAYMENTID { get; set; }
        /// <summary>
        /// 订单ID
        /// </summary>
	    public int CORDERID	 { get; set; }
        /// <summary>
        /// 收款人
        /// </summary>
	    public int EMPLOYEEID { get; set; }
        /// <summary>
        /// 支付金额
        /// </summary>
	    public decimal PAYMONEY	{ get; set; }
        /// <summary>
        /// 支付类型 C0B 银行卡 C0C 现金 C0I 分期支付 C0L 会员卡结算 C0E退款
        /// </summary>
	    public string PAYTYPE { get; set; }
        /// <summary>
        /// 支付时间
        /// </summary>
	    public DateTime PAYDATE { get; set; }
        /// <summary>
        /// 系统时间
        /// </summary>
        public DateTime PAYSYSTEMDATE { get; set; }
        /// <summary>
        /// 字段名称
        /// </summary>
        public static class FieldName
        {
            /// <summary>
            /// 支付ID
            /// </summary>
            public const string PAYMENTID = "PAYMENTID";
            /// <summary>
            /// 订单ID
            /// </summary>
            public const string CORDERID = "CORDERID";
            /// <summary>
            /// 收款人
            /// </summary>
            public const string EMPLOYEEID = "EMPLOYEEID";
            /// <summary>
            /// 支付金额
            /// </summary>
            public const string PAYMONEY = "PAYMONEY";
            /// <summary>
            /// 支付类型 C0B 银行卡 C0C 现金 C0I 分期支付 C0L 会员卡结算 C0E退款
            /// </summary>
            public const string PAYTYPE = "PAYTYPE";
            /// <summary>
            /// 支付时间
            /// </summary>
            public const string PAYDATE = "PAYDATE";
            /// <summary>
            /// 系统时间
            /// </summary>
            public const string PAYSYSTEMDATE = "PAYSYSTEMDATE";
        }
        /// <summary>
        /// 支付类型 C0B 银行卡 C0C 现金 C0I 分期支付 C0L 会员卡结算 C0E退款
        /// </summary>
        public static class ENUM_PAYTYPE
        {
            /// <summary>
            /// 支付类型 C0B 
            /// </summary>
            public const string C0B = "COB";
            /// <summary>
            /// 银行卡 C0C
            /// </summary>
            public const string COC = "COC";
            /// <summary>
            ///  现金 C0I 
            /// </summary>
            public const string COI = "COI";
            /// <summary>
            /// 分期支付 C0L 
            /// </summary>
            public const string COL = "COL";
            /// <summary>
            /// 会员卡结算 C0E退款
            /// </summary>
            public const string COE = "COE";
        }
    }
}
